package com.xue566.service;

import com.xue566.entity.BaseEntity;
import com.xue566.entity.UserEntity;
import com.xue566.util.ResultBody;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;

@FeignClient(value = "crm-user-server", path = "/user")
public interface IUserService {

    @RequestMapping(value = "/queryList", consumes = "application/json")
    ResultBody<UserEntity> queryList(@RequestBody BaseEntity baseEntity);

    @RequestMapping(value = "/selectUser", consumes = "application/json")
    ResultBody<UserEntity> selectUser(@RequestBody UserEntity userEntity);
}
